#ifdef _WIN32
#include "stdafx.h"
#endif

struct procedural_doodad
{
	Procedural::Shape shape;
	
	void make()
	{
	
	}
	void load_yaml(string s)
	{
        ynode doc;
		ifstream ifstr("conf/procedurals.yml");
		YAML::Parser parser(ifstr); // remember to pass it by reference
		if(! parser.GetNextDocument(doc))
			exit(0xbadf00d);
		
		for(YAML::Iterator a = doc.begin(); a != doc.end(); ++ a)
		{
            string name(get_scalar((*a).begin().first())); // model name
            string
                extrude_type = get_scalar((*a).begin().second().FindValue("extrude_type")),
                extrude = get_scalar((*a).begin().second().GetScalar("extrude")),
                scale = get_scalar((*a).begin().second().GetScalar("scale"));
            
		}
		
	}
};